const express = require('express');
const router = express.Router();
const userController = require('../controllers/userController');

// 获取用户信息
router.get('/user', userController.getUser);

// 添加用户
router.post('/user', userController.addUser);

module.exports = router;